package com.antdesignbackend.backend.service;
import com.antdesignbackend.backend.entity.entityVo.DictionaryVo;
import com.antdesignbackend.backend.entity.Dictionary;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface IDictionaryService extends IService<Dictionary> {
    void deleteById(int id);
    List<DictionaryVo> filter(@Param(Constants.WRAPPER) QueryWrapper<DictionaryVo> queryWrapper);
    List<DictionaryVo> search(@Param(Constants.WRAPPER) QueryWrapper<DictionaryVo> queryWrapper, Page<DictionaryVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<DictionaryVo> queryWrapper);
}
